// 计算元组类型的长度

export type LengthOfTuple<T extends any[]> = T["length"];

type A = LengthOfTuple<["B","F","E"]>;
type B = LengthOfTuple<[]>;